<include file="public@header" />
</head>
<body>


<table class="table table-bordered">
    <caption>会员资料</caption>
    <thead>
    <tr>
        <th>卡面卡号</th>
        <th>所在店铺</th>
        <th>姓名</th>
        <th>性别</th>
        <th>手机号</th>
        <th>生日</th>
        <!-- <th>会员余额</th> -->
        <th>办卡时间</th>
        <th>住址</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
    <tr>
        <td>{$vo.card_id}</td>
        <td>{$vo.store_name}</td>
        <td>{$vo.uname}</td>
        <td> <if condition="($vo['sex']==2)">
            女
            <elseif condition="$vo['sex'] eq 1"/>
            男
        </if></td>
        <td>{$vo.mobile}</td>
        <td>{$vo.birthday}</td>
        <!-- <td>{$vo.balance}</td> -->
        <td>{$vo.ctime|time_format}</td>
        <td>{$vo.address}</td>
        <td>
            <a href="{:url('member/del',array('idnumber'=>$vo['idnumber']))}" onClick="return confirm('确定删除?');"> 删除</a>

            <a href="{:url('member/edit',array('idnumber'=>$vo['idnumber']))}">编辑</a>


        </td>
    </tr>
    </foreach>


    </tbody>
</table>

</body>
</html>

